using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class TowerEffect : Effect {
	
	// Properties
	//
	
	public int FloorModifier = 0;
		
	
	public List<Tower> Targets;
	
	
	// Method
	//
	
	
	public override void ApplyEffect(){
		
		// For each target players, apply the ressources modifiers
		foreach (Tower t in this.Targets){
			
			t.Floors += this.FloorModifier;
						
			t.CheckNegativeFloor();
			
		}		
		
	}
	
}
